<?php 
	  if(1==2){$HttpResult = new HttpResult();}
	  $HttpContentResult = $HttpResult->getHttpContentResult();
	  //Debug::print_r($HttpResult);exit();
		$head = new HtmlHeader($HttpContentResult->getHeader());    
		$head->addCSS(array('reset','admin','order_admin'));
		$head->addCSS('print','', 'print');
		$head->addCSS('ie',  'css/ie', 'print',true);
		
		//<!-- SWF OBJECT -->
		$head->addJS('swo', 'js/swfobject/swfobject');
		
		//<!-- PROGRAMACAO JS | JQUERY  -->
		$head->addJS(array('jquery', 'masked','admin', 'order_admin'));
		
		//<!-- JQUERY UI  -->
		$head->addJS('UI', 'js/UI/js/jquery-ui-1.8.6.custom.min');
		$head->addCSS('UI','js/UI/css/smoothness/jquery-ui-1.8.6.custom');
		
		//<!-- TABLE SORTER -->
		$head->addJS('tablesorter', 'js/tablesorter/tablesorter');
		$head->addCSS('tablesorter', 'js/tablesorter/tablesorter');
		
		$header_html = $head->show(TRUE);
$header_html = str_replace(array("democrart", "democrArt", "Democrart", "DemocrArt"), array("expressaoartistica", "Expressão Artística", "Expressão Artística", "Expressão Artística"), $header_html);
echo $header_html;

?>
 
<body>

<div id="main">
      <?php include "view/democrart/parts/admin/header.php" ?>
      
	  <div id="main_content">
	  
	  <div id="msgBox"></div>
	  			
		<div id="box_left">
			
			<?php include "view/democrart/parts/admin/menu.php" ?>	
	   	
		 </div>
		  
		 <div id="box_right">
			<h1>Listar Pedidos Não Finalizados</h1>
				
			<div style="clear:both">
				<span class="count">6 registro(s)</span>
				<table class="tablesorter">
					<thead>
						<tr>
							<th>Nº</th>
							<th>Cliente</th>
							<th>Produtos (resumo)</th>
							<th>Pedido em</th>
							<th>Total</th>
							<th>Detalhes</th>
						</tr>
					</thead>
					<tbody>
						<tr>
							<td>00125</td>
							<td>Marcos Sampaio</td>
							<td>
								(1) Natureza - Mulher 18 x 20cm
							</td>
							<td>20/10/2010</td>
							<td>R$ 25,69</td>	
							<td class="ico"><a href="<?php echo Config::getRootPath("admin/purchase/update/id.1") ?>">
							<img id="ver00125" src="<?php echo Config::getAsset("assets/img/icons/visualizar.png");?>" alt="Visualizar" title="Ver detalhes do pedido" /></a></td>
						</tr>
						<tr>
							<td>4568</td>
							<td>Gilmar Soares</td>
							<td>
								(1) quadro xpto azul<br />
								(2) quadros natureza<br />
								(1) moldura 12 x 15cm<br />
							</td>
							<td>20/10/2010</td>
							<td>R$ 25,69</td>	
							<td class="ico"><a href="<?php echo Config::getRootPath("admin/purchase/id.2") ?>">
							<img id="ver4568" src="<?php echo Config::getAsset("assets/img/icons/visualizar.png");?>" alt="Visualizar" title="Ver detalhes do pedido" /></a></td>
						</tr>

					</tbody>
				</table>
			</div>
		
		</div>
					
			
			<!-- FIM DO QUADRO -->
	
	</div>
	
</div>

</body>
</html>
